package com.example.product.proxy;

import com.example.product.dubbo.HelloService;
import com.example.product.dubbo.ProxyFactory;

public class main {

    public static void main(String[] args) {
        Calc o = ProxyFactory.getProxy(Calc.class);
        //  Integer ret = o.add(1, 2);
        System.out.println(o );
        HelloService helloService = DynamicProxy.newProxyInstance(HelloService.class);

        //String result = helloService.sayHello("world");
        System.out.println("result");
    }

}
